package com.vaccine.mapper;

import com.vaccine.entity.VaccineOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface VaccineOrderMapper extends BaseMapper<VaccineOrder> {
    @Update("update vaccine_order set status = #{status} where id = #{id}")
    int updateStatus(@Param("id") Integer id, @Param("status") Integer status);
}
